package com.cly.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.cly.entity.Course;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * 科目DTO
 *
 * @author : 小雷
 * <p>
 * 2024-06-19 11:21:27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@NoArgsConstructor
@Schema(name = "科目DTO")
public class CourseDto extends Course {
    /**
     * 序列化ID
     */
    @Serial
    private static final long serialVersionUID = -4365655152797752592L;
    /**
     * 科目id
     */
    @Schema(description = "科目id")
    @TableId
    private Long subjectId;
}
